home *** CD-ROM | disk | FTP | other *** search
- #!/bin/sh
-
- # -- Quit WireTap, and delete an old versions of it
-
- #osascript -e 'tell application "Finder"' -e 'if (name of (every application process)) contains "WireTap" then' -e 'tell application "WireTap" to quit' -e 'end if' -e 'end tell'
-
- # -- Don't delete the folder, it confuses the installer
- #rm -rf "/Applications/WireTap Pro/"
- rm -rf "/Applications/WireTap Pro/WireTap Pro.app"
-
- # -- Unload our kext, if it exists, then delete it
-
- echo 'kext preupgrade script-----'
- #kextunload /System/Library/Extensions/AmbrosiaAudioSupport.kext
- kextunload -b "com.AmbrosiaSW.AudioSupport"
-
- # -- Don't delete the 'kext', it confuses the installer
- #rm -rf /System/Library/Extensions/AmbrosiaAudioSupport.kext
-
- exit 0
-